home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Apps
/
ScreenSavers
/
darken
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-12-20
|
941b
|
38 lines
# Makefile for VidLev
CC = cc
BIN = ${DESTDIR}/usr/local/etc
DEBUG = -O
# Enable the NOBODY definition for NFS clients. Pick the UID appropriate
# to your definition of the "nobody" account.
# NOBODY = -DNOBODY=-2
CFLAGS = ${DEBUG} -DBIN=\"${BIN}\" ${NOBODY}
all: VidLev LoginHook LogoutHook
clean:
rm -f core a.out *.o VidLev LoginHook LogoutHook
FRC:
install: VidLev LoginHook LogoutHook
install -c -m 755 -o root -g wheel -s VidLev ${BIN}
install -c -m 700 -o root -g wheel LoginHook ${BIN}
install -c -m 700 -o root -g wheel LogoutHook ${BIN}
dwrite loginwindow LoginHook ${BIN}/LoginHook
dwrite loginwindow LogoutHook ${BIN}/LogoutHook
LoginHook: LoginHook.proto FRC
rm -f LoginHook
sed 's#^BIN=.*#BIN=${BIN}#' < LoginHook.proto > LoginHook
LogoutHook: LogoutHook.proto FRC
rm -f LogoutHook
sed 's#^BIN=.*#BIN=${BIN}#' < LogoutHook.proto > LogoutHook
VidLev: VidLev.c missing.h
${CC} ${CFLAGS} VidLev.c -o VidLev